package com.lei.dao;

import com.lei.domain.User;

import java.util.List;

public interface UserDao {
    List<User> list();

    long save(User user);

    void saveUserRoleRel(Long id, long[] roleIds);

    void delUserRoleRel(Long userId);

    void delUser(Long userId);
}
